//if your want to change position to change data-placement
//For Example
//data-placement="right"
//data-placement="left"
//data-placement="top"
//data-placement="bottom"
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Edit">
Edit
</button>